package com.saint.commons.feign;

import feign.Feign;

import java.math.BigDecimal;

public class FeignDemo {
    public static void main(String[] args) {
        AccountClient client = Feign.builder().target(AccountClient.class, "http://127.0.0.1:9031");
        client.debit("1001", BigDecimal.valueOf(-1));
    }
}
